//
//  UIScrollView+YTAdd.h
//  tesDemo02
//
//  Created by 拓客营 on 2022/3/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIScrollView (YTAdd)


- (void)startRefresh;

- (void)addHeaderWithTarget:(nullable id)target action:(nullable SEL)action;
- (void)addFooterWithTarget:(nullable id)target action:(nullable SEL)action;

- (void)removeHeader;
- (void)removeFooter;

- (void)endRefreshing;

- (void)updateFooterWithEnd:(BOOL)isEnd;

- (void)updateHeaderWithEnd:(BOOL)isEnd;

@end

NS_ASSUME_NONNULL_END
